package com.javasm.mingming.dynamic.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (DynamicsReview)表实体类
 *
 * @author makejava
 * @since 2025-01-06 17:31:38
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DynamicsReview extends Model<DynamicsReview> {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //1动态2相册3视频
    private Integer type;
    //评论人
    private Integer uid;
    //第三方主键
    private Integer oid;
    //点赞数
    private Integer likeNum;
    //评论内容
    private String content;
    //回复的评论id
    private Integer pid;
    //评论发布时间
    private Date ctime;

    //回复的回复列表
    @TableField(exist = false)
    private List<DynamicsReview> reviewList;

}

